export interface IDetailResponse {
	id: string
	merchantId: string
	merchantName: string
	merchantPath: string
	parentMerchantId: number
	parentMerchantPath: string
	topMerchantId: string
	topMerchantName: string
	currency: string
	topImagesUrl: string
	accountType: number
	userName: string
	realName: string
	gender: number
	birthday: string | null
	mobile: string
	email: string
	qq: string | null
	flygram: string | null
	payPassword: string
	proxyLevel: number
	proxyLevelName: string
	maxLevel: number
	proxyPath: string
	proxyPathUsername: string
	parentProxyId: number
	parentProxyName: string | null
	parentProxyPath: string
	parentProxyLevel: number
	parentProxyLevelName: string
	topProxyId: string
	topProxyName: string
	labelId: number
	labelName: string | null
	windControlId: string
	windControlName: string
	loginLockStatus: number
	paymentLockStatus: number
	accumulatedCommission: number
	accumulatedRebate: number
	commissionBalance: number
	quotaBalance: number
	registerDeviceType: number
	registerIp: string
	registerIpWindControl: string
	registerDeviceNo: string
	lastLoginDatetime: string
	lastLoginIp: string
	lastLoginDeviceNo: string
	creditLevel: number
	joinCode: string
	entryAuthority: number
	enforceContractStatus: number
	contractModel: number
	debtStatus: number
	rebateContractId: string
	underProxyNum: number
	directlyUnderProxyNum: number
	underMemberNum: number
	directlyUnderMemberNum: number
	commissionContractId: string
	transferOutNum: number
	transferInNum: number
	contractStatus: number
	commissionPolicyTypeId: number
	rebatePolicyTypeId: number
	createdAt: string
	auditList: any[]
	commissionModel: number
	withdrawLimitType: number
	bankChannelStatus: number
	crossOptLevel: number
	playerToProxy: number
	businessModel: number
	rebateAllotMode: number
	rebateRateTemplateId: string | null
	rebateRateTemplateName: string | null
	isTransformMember: boolean
	liquidationStatus: number
	proxyName?: string
	proxyId?: string
}

interface IRebateRate {
	userType: number | null
	userName: string | null
	parentProxyId: number | string | null
	proxyLevel: number | null
	texasRebate: number
	texasInsuranceRebate: number
	actualPersonRebate: number
	sportsRebate: number
	lotteryTicketRebate: number
	chessRebate: number
	esportsRebate: number
	electronicRebate: number
}

export interface IRecordMember {
	topProxyRebateRateResp: IRebateRate
	proxyRebateRateResp: IRebateRate[]
	memberRebateRateResp: IRebateRate
}

export interface IQueryDetailParams {
	userName?: string
	merchantId?: string
	parentProxyName?: string
}

export interface IResponseItem<T> {
	code: number
	msg: string
	data: T
}
